package com.kly.collection.db.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.kly.collection.db.dao.AgentDao;
import com.kly.collection.db.entity.AgentEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
* User: jeff
* Date: 2022-10-19
* Time: 12:11:39.902
*/

@Repository
public class AgentDaoImpl extends AbstractBaseMapper<AgentEntity> implements AgentDao {

    @Override
    public List<AgentEntity> selectAll() {
        Map<String, Object> params = new HashMap<>();
        return getSqlSession().selectList(this.getStatement("selectAll"), params);
    }
}